<template>
	<view class="">
		<view class="" style="width: 95%;background-color: #fff;margin: 30rpx auto;border-radius: 10rpx;" v-for="(item,index) in plList" :key="index">
			<!-- 上册 -->
			<view class="" style="display: flex;justify-content: space-between;padding: 20rpx;">
				<view class="" style="display: flex;">
					<view class="">
						<image style="width: 60rpx;height: 60rpx;border-radius: 10rpx;" :src="item.store.image" mode=""></image>
					</view>
					<view class="" style="margin-left: 20rpx;">
						{{item.store.store_name}}
					</view>
				</view>
				
				
				<view class="">
					{{item.create_time}}
				</view>
				
				
			</view>
			
			<!-- 中间 -->
			<view class="" style="margin-top: 20rpx;padding: 20rpx;display: flex;">
				<view class="">
					满意度
				</view>
				<view class="">
					<u-rate :count="count" v-model="item.star" readonly></u-rate>
				</view>
			</view>
			<view class="" style="margin-top: 20rpx;padding: 20rpx;">
				{{item.detail}}
			</view>
			
			
		</view>
		
		
		
	</view>
</template>

<script>
	export default {
		onShow() {
			this.getMyplList()
		},
		data(){
			return {
				count: 5,
				plList:[],
			}
		},
		methods:{
			getMyplList(){
				this.$req('GET',this.$api.roomPlList,{
					user_id:uni.getStorageSync('userId')
				}).then(res =>{
					console.log(res,'查看打印的评论列表')
					this.plList = res.data.list.data
					
					
				})
			}
		}
	}
</script>

<style>
	page {
		background: #f6f5f7;
	}
	
	
	
	
	
	
	
</style>